
<template>
    <div class="shake-main">
        <div class="shake-title">{{title}}
                 <img :src="shakeIcon" style="margin-left:4px;margin-top:2px;vertical-align: -7px;position: relative" width="24" height="24">
        </div>

    </div>
</template>

<script>
import { mapState, mapActions } from 'vuex'
export default {
    data() {
        return {
            shakeIcon: require("@/assets/game/icon_shake_48x48@2x.png")


        }
    },
    mounted() {
        //获取用户信息

    },
    props: ['title'],
    computed: {
    },
    methods: {

    }

}

</script>

<style lang="scss" scoped>
.shake-main {

    margin: 0px;
    padding: 0px;
    
}

.shake-title {
    display: inline-block;
    float: left;
   
    margin-top: 15px;
    width: 120px;
    height: 30px;
    font-size: 16px;
    margin-left: -15px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 20px;
    line-height: 30px;
    background-color: rgb(253, 71, 67);
    color: white;
    border-radius: 30px;
    z-index: 2;
}

.shake-icon {
    display: inline-block;
    height: 25px;
    width: 24px;
    margin-top: 17px;
    margin-left:-25px;
    padding: 0px;
    z-index:9999;
    position: absolute;
    background-size:contain;
    background-image: url("../../assets/game/icon_shake_60x60@2x.png");  

}

// .shake-icon {
//     display: inline-block;
//     margin-top: 15px;
//     width: 30px;
//     height: 30px;
//     margin-left: -30px;
//     line-height: 30px;
//     padding-top: 0px;
//     padding-bottom: 5px;
//     color: white;
//     z-index: 9999;
 //    position: absolute;
// }
</style>
